#ifndef BONUS_H
#define BONUS_H
#include "Tank.h"
#include <Ogre.h>

class Bonus
{
public:
    Bonus(Tank *target, Ogre::Real lifetime):mTarget(target), mLifetime(lifetime)
        {};
    ~Bonus();

    virtual void apply() = 0;
    virtual void remove() = 0;
    void update(Ogre::Real timeSiceLastFrame);
    //tempo in millisecondi, scalo via via tempo di interframe


protected:
    Ogre::Real mLifetime;
    Tank *mTarget;
};


#endif // BONUS_H
